<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
		<title></title>
		<link type="text/css" rel="stylesheet" href="{TPL_PATH}css/base.css" />
		<style type="text/css">
			.modify-table{width:100%;}
			.modify-table td{text-align:left; padding:8px 0;}
			.mt-td-l{width:100px; font-weight:bold; color:#444;}
			#site-submit{background: none repeat scroll 0 0 #E5EDF2;border-color: #C2D5E3 #336699 #336699 #C2D5E3;border-style: solid;border-width: 1px;color: #336699;cursor: pointer;font-weight: 700;vertical-align: middle;letter-spacing:4px;padding:0 16px; line-height:28px; height:28px; font-size:14px;}
		</style>
		<script type="text/javascript">
		<!--{eval $host = getScriptDomain();}-->
		<!--{if $host}-->
		document.domain = "$host";
		<!--{/if}-->
		</script>
	</head>
	<body>
		<form action="{u handler/site_update}" method="post" enctype="multipart/form-data">
		<table class="modify-table" border="0" cellpadding="0" cellspacing="0">
			<!--{if !empty($site['site_img'])}-->
			<tr>
				<td rowspan="2" class="mt-td-l">&nbsp;&nbsp;网站截图</td>
				<td class="mt-td-r">
					<a href="{$site[site_img]}" target="_blank"><img src="{$site[site_img]}" height="120" /></a>
				</td>
			</tr>
			<tr>
				<td class="mt-td-r">
					<input type="file" name="img_file" id="img_file" class="text" size="40"/><br/>
					<p style="padding:10px 0 0 0;"><span style="color:#f00;">只能上传.jpg,.png,.bmp的图片，图片大小不能超过2M</span></p>
				</td>
			</tr>
			<!--{else}-->
			<tr>
				<td class="mt-td-l">&nbsp;&nbsp;网站截图</td>
				<td class="mt-td-r">
					<input type="file" name="img_file" id="img_file" class="text" size="40"/><br/>
					<p style="padding:10px 0 0 0;"><span style="color:#f00;">只能上传.jpg,.png,.bmp的图片，图片大小不能超过2M</span></p>
				</td>
			</tr>
			<!--{/if}-->
			<tr>
				<td class="mt-td-l" style="vertical-align:top; padding-top:12px;">&nbsp;&nbsp;网站描述</td>
				<td class="mt-td-r">
					$fck
				</td>
			</tr>
			<tr>
				<td class="mt-td-l">&nbsp;</td>
				<td class="mt-td-r">
					<input type="hidden" name="id" value="$site[id]" />
					<input type="submit" id="site-submit" value="提 交" />
				</td>
			</tr>
		</table>
		</form>
	</body>
</html>